/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.core.domain.operator;

import info.peigen.hotpot.common.core.domain.Domain;
import info.peigen.hotpot.common.core.domain.DomainObject;
import info.peigen.hotpot.common.core.enums.YesOrNo;
import info.peigen.hotpot.common.core.order.Order;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * <b>(CustomerOperatorLoginRecord)</b>
 * 操作员登录记录
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/7/28
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class CustomerOperatorLoginRecord extends DomainObject {
    String  gid;
    String  customerId;
    String  loginName;
    /** 登录成功与否 */
    YesOrNo loginSuccess;
    Date    loginTime;

    @Override
    public Domain create(Order order) {
        return null;
    }

    @Override
    public void check() {
    }
}
